package com.exam.operation.系统;

import java.util.Date;
import java.util.List;

import com.exam.dao.DaoManager;
import com.exam.dao.MarkerDao;
import com.exam.entity.Marker;
import com.exam.operation.Operation;

public class 列城市地址 implements Operation
{
	private Date beginDate;
	private Date endDate;
	private boolean flag;
	private List<Marker> markers;
	
	public void execute() throws Exception
	{
		MarkerDao dao = DaoManager.getInstance().getDao(MarkerDao.class);
		markers = dao.listMarker(beginDate, endDate, flag);
	}

	public Date getBeginDate()
	{
		return beginDate;
	}

	public void setBeginDate(Date beginDate)
	{
		this.beginDate = beginDate;
	}

	public Date getEndDate()
	{
		return endDate;
	}

	public void setEndDate(Date endDate)
	{
		this.endDate = endDate;
	}

	public boolean getFlag()
	{
		return flag;
	}

	public void setFlag(boolean flag)
	{
		this.flag = flag;
	}

	public List<Marker> getMarkers()
	{
		return markers;
	}

	public void setMarkers(List<Marker> markers)
	{
		this.markers = markers;
	}
}
